package org.example.judge;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

import java.util.concurrent.FutureTask;

@SpringBootApplication(scanBasePackages = "org.example")
@MapperScan("org.example")
@ComponentScan("org.example")
@EnableAsync
@EnableFeignClients(basePackages = "org.example.judge_feign_api")  //open feign
public class JudgeApplication {





    public static void main(String[] args) {
        SpringApplication.run(JudgeApplication.class, args);
    }

}
